Builder
class Builder : GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType> , VectorTile.Tile.LayerOrBuilder
Layers are described in section 4.1 of the specification
Content copied to clipboard
vector_tile.Tile.Layer
Functions
Link copied to clipboard
open fun addAllFeatures(values: Iterable<out VectorTile.Tile.Feature>): VectorTile.Tile.Layer.Builder
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
fun <Type> addExtension(extension: ExtensionLite<MessageType, List<Type>>, value: Type): BuilderType
Link copied to clipboard
open fun addFeatures(builderForValue: VectorTile.Tile.Feature.Builder): VectorTile.Tile.Layer.Builder
open fun addFeatures(index: Int, builderForValue: VectorTile.Tile.Feature.Builder): VectorTile.Tile.Layer.Builder
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
open fun addValues(index: Int, builderForValue: VectorTile.Tile.Value.Builder): VectorTile.Tile.Layer.Builder
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
Content copied to clipboard
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
required string name = 1;
Link copied to clipboard
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
Content copied to clipboard
required uint32 version = 15 [default = 1];
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
required string name = 1;
Link copied to clipboard
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
Content copied to clipboard
required uint32 version = 15 [default = 1];
Link copied to clipboard
Link copied to clipboard
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
Content copied to clipboard
required uint32 version = 15 [default = 1];
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Link copied to clipboard
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
Content copied to clipboard
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
open fun setFeatures(index: Int, builderForValue: VectorTile.Tile.Feature.Builder): VectorTile.Tile.Layer.Builder
The actual features in this tile.
Content copied to clipboard
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
Content copied to clipboard
repeated string keys = 3;
Link copied to clipboard
required string name = 1;
Link copied to clipboard
required string name = 1;
Link copied to clipboard
open fun setValues(index: Int, builderForValue: VectorTile.Tile.Value.Builder): VectorTile.Tile.Layer.Builder
Dictionary encoding for values
Content copied to clipboard
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
Content copied to clipboard
required uint32 version = 15 [default = 1];